﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x020002DD RID: 733
	public class TFetchFirstClause : TParseTreeNode
	{
		// Token: 0x0600191D RID: 6429 RVA: 0x0032BBD9 File Offset: 0x00329DD9
		public void setFirstNextToken(TSourceToken st)
		{
			if (st.ToString().Equals("first", StringComparison.CurrentCultureIgnoreCase))
			{
				this._firstToken = st;
				return;
			}
			this._nextToken = st;
		}

		// Token: 0x0600191E RID: 6430 RVA: 0x0032BBFD File Offset: 0x00329DFD
		public void setRowRowsToken(TSourceToken st)
		{
			if (st.ToString().Equals("row", StringComparison.CurrentCultureIgnoreCase))
			{
				this._rowToken = st;
				return;
			}
			this._rowsToken = st;
		}

		// Token: 0x17000568 RID: 1384
		// (get) Token: 0x0600191F RID: 6431 RVA: 0x0032BC21 File Offset: 0x00329E21
		// (set) Token: 0x06001920 RID: 6432 RVA: 0x0032BC29 File Offset: 0x00329E29
		public TSourceToken percentToken
		{
			get
			{
				return this._percentToken;
			}
			set
			{
				this._percentToken = value;
			}
		}

		// Token: 0x17000569 RID: 1385
		// (get) Token: 0x06001921 RID: 6433 RVA: 0x0032BC32 File Offset: 0x00329E32
		// (set) Token: 0x06001922 RID: 6434 RVA: 0x0032BC3A File Offset: 0x00329E3A
		public TSourceToken tiesToken
		{
			get
			{
				return this._tiesToken;
			}
			set
			{
				this._tiesToken = value;
			}
		}

		// Token: 0x06001923 RID: 6435 RVA: 0x0032BC43 File Offset: 0x00329E43
		public void setOnlyTiesToken(TSourceToken st)
		{
			if (st.ToString().Equals("only", StringComparison.CurrentCultureIgnoreCase))
			{
				this._onlyToken = st;
				return;
			}
			this._tiesToken = st;
		}

		// Token: 0x1700056A RID: 1386
		// (get) Token: 0x06001924 RID: 6436 RVA: 0x0032BC67 File Offset: 0x00329E67
		// (set) Token: 0x06001925 RID: 6437 RVA: 0x0032BC6F File Offset: 0x00329E6F
		public TSourceToken firstToken
		{
			get
			{
				return this._firstToken;
			}
			set
			{
				this._firstToken = value;
			}
		}

		// Token: 0x1700056B RID: 1387
		// (get) Token: 0x06001926 RID: 6438 RVA: 0x0032BC78 File Offset: 0x00329E78
		// (set) Token: 0x06001927 RID: 6439 RVA: 0x0032BC80 File Offset: 0x00329E80
		public TSourceToken nextToken
		{
			get
			{
				return this._nextToken;
			}
			set
			{
				this._nextToken = value;
			}
		}

		// Token: 0x1700056C RID: 1388
		// (get) Token: 0x06001928 RID: 6440 RVA: 0x0032BC89 File Offset: 0x00329E89
		// (set) Token: 0x06001929 RID: 6441 RVA: 0x0032BC91 File Offset: 0x00329E91
		public TSourceToken rowToken
		{
			get
			{
				return this._rowToken;
			}
			set
			{
				this._rowToken = value;
			}
		}

		// Token: 0x1700056D RID: 1389
		// (get) Token: 0x0600192A RID: 6442 RVA: 0x0032BC9A File Offset: 0x00329E9A
		// (set) Token: 0x0600192B RID: 6443 RVA: 0x0032BCA2 File Offset: 0x00329EA2
		public TSourceToken rowsToken
		{
			get
			{
				return this._rowsToken;
			}
			set
			{
				this._rowsToken = value;
			}
		}

		// Token: 0x1700056E RID: 1390
		// (get) Token: 0x0600192C RID: 6444 RVA: 0x0032BCAB File Offset: 0x00329EAB
		// (set) Token: 0x0600192D RID: 6445 RVA: 0x0032BCB3 File Offset: 0x00329EB3
		public TSourceToken onlyToken
		{
			get
			{
				return this._onlyToken;
			}
			set
			{
				this._onlyToken = value;
			}
		}

		// Token: 0x1700056F RID: 1391
		// (get) Token: 0x0600192E RID: 6446 RVA: 0x0032BCBC File Offset: 0x00329EBC
		// (set) Token: 0x0600192F RID: 6447 RVA: 0x0032BCC4 File Offset: 0x00329EC4
		public virtual TExpression FetchValue
		{
			get
			{
				return this.fetchValue;
			}
			set
			{
				this.fetchValue = value;
			}
		}

		// Token: 0x06001930 RID: 6448 RVA: 0x0032BCCD File Offset: 0x00329ECD
		public override void init(object arg1)
		{
			this.fetchValue = (TExpression)arg1;
		}

		// Token: 0x06001931 RID: 6449 RVA: 0x0032BCDB File Offset: 0x00329EDB
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06001932 RID: 6450 RVA: 0x0032BCEB File Offset: 0x00329EEB
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0400190A RID: 6410
		private TSourceToken _percentToken;

		// Token: 0x0400190B RID: 6411
		private TSourceToken _tiesToken;

		// Token: 0x0400190C RID: 6412
		private TSourceToken _firstToken;

		// Token: 0x0400190D RID: 6413
		private TSourceToken _nextToken;

		// Token: 0x0400190E RID: 6414
		private TSourceToken _rowToken;

		// Token: 0x0400190F RID: 6415
		private TSourceToken _rowsToken;

		// Token: 0x04001910 RID: 6416
		private TSourceToken _onlyToken;

		// Token: 0x04001911 RID: 6417
		private TExpression fetchValue;
	}
}
